package com.hopu.v1.pojo.classes;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 学生凭证表
 * @TableName t_student_voucher
 */
@TableName(value ="t_student_voucher")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class StudentVoucher implements Serializable {
    /**
     * id
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    /**
     * 学生id
     */
    @TableField(value = "student_id")
    private String studentId;

    /**
     * 凭证类型
     */
    @TableField(value = "voucher_type")
    private Object voucherType;

    /**
     * 凭证
     */
    @TableField(value = "voucher")
    private String voucher;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}